#!/usr/bin/env python3
# -*- coding: UTF-8 -*-
# Autor Jiangjun

import time
# 按照日期格式返回当前时间:
def printNowTime(timeFormat):
    # timeFormat = "%Y-%m-%d %H:%M:%S";
    return time.strftime(timeFormat, time.localtime())